package com.ruoyi.jiuzai.mapper;

import java.util.List;
import com.ruoyi.jiuzai.domain.Baofeimingxi;

/**
 * 物资报废和回收中间表Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public interface BaofeimingxiMapper 
{
    /**
     * 查询物资报废和回收中间表
     * 
     * @param baomingId 物资报废和回收中间表主键
     * @return 物资报废和回收中间表
     */
    public Baofeimingxi selectBaofeimingxiByBaomingId(Long baomingId);

    /**
     * 查询物资报废和回收中间表列表
     * 
     * @param baofeimingxi 物资报废和回收中间表
     * @return 物资报废和回收中间表集合
     */
    public List<Baofeimingxi> selectBaofeimingxiList(Baofeimingxi baofeimingxi);

    /**
     * 新增物资报废和回收中间表
     * 
     * @param baofeimingxi 物资报废和回收中间表
     * @return 结果
     */
    public int insertBaofeimingxi(Baofeimingxi baofeimingxi);

    /**
     * 修改物资报废和回收中间表
     * 
     * @param baofeimingxi 物资报废和回收中间表
     * @return 结果
     */
    public int updateBaofeimingxi(Baofeimingxi baofeimingxi);

    /**
     * 删除物资报废和回收中间表
     * 
     * @param baomingId 物资报废和回收中间表主键
     * @return 结果
     */
    public int deleteBaofeimingxiByBaomingId(Long baomingId);

    /**
     * 批量删除物资报废和回收中间表
     * 
     * @param baomingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBaofeimingxiByBaomingIds(Long[] baomingIds);
}
